﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ReturnGood.ascx.cs" Inherits="UserControls_ReturnGood" %>
<%@ Register Src="FillReturnInfo.ascx" TagName="FillReturnInfo" TagPrefix="uc2" %>
<%@ Register Src="Page.ascx" TagName="Page" TagPrefix="uc1" %>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<div id="user_right2">
    <table width="759" border="0" cellpadding="0" cellspacing="1" bgcolor="#E7C890">
        <tr>
            <td bgcolor="#FFFFFF">
                <table width="757" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="139" height="23" align="left" background="images/bg_gold_23.jpg" class="black12"
                            style="padding-left: 10px;">
                            退货申请信息</td>
                        <td width="679" align="right" background="images/bg_gold_23_2.jpg">
                            &nbsp;</td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td height="25" bgcolor="#FFFFFF">
                <div style="height: 10px;">
                </div>
                <asp:GridView ID="gvOrder" runat="server" AutoGenerateColumns="False" Style="text-align: center"
                    BackColor="#CCCCCC" Width="98%" DataKeyNames="ID" OnRowDataBound="gvOrder_RowDataBound" OnRowUpdating="gvOrder_RowUpdating" OnRowDeleting="gvOrder_RowDeleting" OnSelectedIndexChanging="gvOrder_SelectedIndexChanging">
                    <Columns>
                        <asp:BoundField DataField="ID" Visible="False" />
                        <asp:BoundField DataField="BackGoodNo" HeaderText="退货单号">
                            <ItemStyle Height="23px" CssClass="black12" />
                        </asp:BoundField>
                        <asp:BoundField DataField="CreateDate" HeaderText="申请时间" />
                        <asp:BoundField DataField="TypeName" HeaderText="类型" />
                        <asp:BoundField DataField="State" HeaderText="状态" />
                        <asp:TemplateField HeaderText="发货">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:LinkButton ID="lbSend" runat="server" CommandName="Update">发货</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="收款">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:LinkButton ID="lbReceive" runat="server" CommandName="Delete">收款</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="收货">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:LinkButton ID="lbReceiveGood" runat="server" CommandName="Select">收货</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:HyperLinkField DataNavigateUrlFields="ID" HeaderText="查看" Text="查看" DataNavigateUrlFormatString="~/Default.aspx?PN=member_home&amp;Type=ReturnGoodDetail.ascx&amp;ID={0}" />
                    </Columns>
                    <HeaderStyle Width="23px" Height="23px" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td bgcolor="#FFFFFF">
                
            </td>
        </tr>
        <tr>
            <td bgcolor="#FFFFFF">
               <uc1:Page ID="Page1" runat="server" PageSize="5" Type="1" /> 
            </td>
        </tr>
        
    </table>
    <div style="height:5"></div>
    <uc2:FillReturnInfo ID="FillReturnInfo1" runat="server" />
    
</div>